package com.lylg.picture_share.service;

import com.github.pagehelper.PageInfo;
import com.lylg.picture_share.entity.Manager;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ManagerService {

    public Manager selectByNameAndPwd(String manager_name, String manager_pwd);
    public List<Manager> selectManagerAll();
    public Integer deleteManager(Integer manager_id);
    public Manager selectByName(String name);
    public void insertManager(Manager manager);
    PageInfo<Manager> getManagers(Manager manager, Integer currentPage, Integer pageSize);
    void updPwd(Integer managerId, String manager_pwd);
    public List<Manager> selectManagers(Manager manager);
    void updateStatus(Integer manager_id);

    void saveManager(Manager manager);
    Manager selectManagerByNP(String manager_name, String manager_pwd);
}
